package j03zuoye;

public class Z1 {
    public static void main(String[] args) {
        for (int i = 1; i <= 200; i++) {
            System.out.println("i = " + i);
            if(i==66){
                new Thread(()->{
                    System.out.println("水仙花...");
                }).start();
            }
            if(i==9){
                new Thread("口诀"){
                    @Override
                    public void run() {
                        System.out.println(Thread.currentThread().getName()+"-乘法");
                    }
                }.start();
            }
            try {
                Thread.sleep(50);
            } catch (InterruptedException e) {
                throw new RuntimeException(e);
            }
        }
    }
}
